/*
 * @Author: your name
 * @Date: 2022-02-02 15:26:09
 * @LastEditTime: 2022-02-02 15:49:23
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue3-vite-tsx\src\views\Detail.tsx
 */
import { defineComponent } from 'vue'
import { useRoute } from 'vue-router'

export default defineComponent({
  setup() {
    const route = useRoute()
    console.log('route: ', route.query)
    console.log('route: ', route.params)

    return () => <div>detail</div>
  }
})
